/**
 * KeyValue.java
 * Created on 10 31, 07
 */
package com.pacm.i18n;


/**
 * Value object for key/value pair
 *
 * @author Paul Augustine C. Mendoza
 * @since 1.0
 */
public class KeyValue {

    private String key;

    private String value;

    /**
     * Accessor method for key
     *
     * @return the key
     */
    public String getKey() {
        return key;
    }

    /**
     * Setter method for key
     *
     * @param key
     *            the key to set
     */
    public void setKey(String key) {
        this.key = key;
    }

    /**
     * Accessor method for value
     *
     * @return the value
     */
    public String getValue() {
        return value;
    }

    /**
     * Setter method for value
     *
     * @param value
     *            the value to set
     */
    public void setValue(String value) {
        this.value = UnicodeConverter.toAscii(value);
    }

}
